Skip to content

deps: update vulnerable compress and x/net modules - #1575

Closed
Reason07 wants to merge 1 commit into
tmc:mainfrom
Reason07:fix/refresh-vulnerable-dependencies
Closed

Reason07 wants to merge 1 commit into
tmc:mainfrom
Reason07:fix/refresh-vulnerable-dependencies

Conversation

@Reason07

@Reason07 Reason07 commented Nov 21, 2026 •

Copy link
Copy Markdown

The dependency versions on main have reachable vulnerabilities in klauspost/compress (GO-2026-6865) and x/net (GO-2026-6860). These advisories were published after the last successful main run.

Update compress to 1.20.2 and x/net to 0.62.0. The x/crypto, x/sys, x/text, x/tools and x/sync updates follow x/net's module requirements.

This branch starts directly from main and can be reviewed independently of #1574, whose failed govulncheck job exposed the dependency failures.

The standard-library finding GO-2026-6859 remains with the current recommended Go 1.26.10 toolchain. The Go upgrade in #1571 addresses that finding; this PR contains the third-party module updates. Local validation below explicitly uses Go 1.26.11.

Validation on Linux with Go 1.26.11:

  • The configured go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./... passes: no reachable or imported-package vulnerabilities. It reports one advisory in a required module with no called vulnerable symbols.
  • go build ./... passes.
  • go vet ./... and the complete go test -timeout=3m ./... pass (91 tested packages).
  • Race tests pass for agents, chains, llms/openai, llms/openai/internal/openaiclient, and outputparser.
  • go mod tidy -diff is empty after refreshing go.sum; git diff --check passes.
  • The configured full lint was attempted with the repository's pinned v2.9.0 (built from the exact checksum-verified cached module). Package export loading consumed the 5-minute timeout and the command exited 4 before producing lint findings. Full local lint is not claimed to pass.

Remote CI's lint, build, full tests, race tests, coverage, and all 77 example builds pass. Its govulncheck log confirms both third-party findings are resolved; only the standard-library GO-2026-6859 remains under Go 1.26.10.

Authored, tested, and reviewed with Codex assistance.

PR Checklist

  • Read the contributing guide and code of conduct.
  • Use a package-prefixed title and describe the problem.
  • Check for an existing overlapping PR.
  • Keep the dependency fix independent of functional changes.
  • Pass golangci-lint in remote CI (local package loading limitation documented above).

@tmc

tmc commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Thanks for this. The same updates (Go 1.26.11, x/net v0.62.0, klauspost/compress v1.20.2) landed in #1578, so I'm closing this as a duplicate. Appreciate you flagging it.

@tmc tmc closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants